package com.yfqy.app.enums;

import lombok.Getter;

@Getter
public enum ProductStatus {
    PENDING_REVIEW((byte) 0, "待审核"),
    AVAILABLE((byte) 1, "已上架"),
    OFF_THE_SHELVES((byte) 2, "已下架"),
    ;

    ProductStatus(byte state, String desc) {
        this.state = state;
        this.desc = desc;
    }

    private final byte state;

    private final String desc;
}
